package cn.iocoder.yudao.module.wine.controller.app.supplyorder.enums;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @author zyc
 * @createDate 2024/5/10 14:26
 */

@RequiredArgsConstructor
@Getter
public enum SupplyOrderEnum {

    //平台操作状态：0--未收款，1--已收款，2--已打款，4--有纠纷
    OUTSTANDING_PAYMENT(0,"未收款"),
    PAYMENT_HAS_BEEN_RECEIVED(1,"已收款"),
    REMITTED_MONEY(2,"已打款给卖家"), //买家收货
    BE_IN_DISPUTE(4,"有纠纷"),
    REFUNDED_TO_BUYER(8,"已退款给买家"),//卖家收货


    BUYER(1,"买家"),
    SELLER(2,"卖家"),

    NORMAL(1,"正常交易"),
    GUARANTEE(2,"担保交易"),
    TAKE_RESPONSIBILITY(3,"担责交易"),
    TAKE_RESPONSIBILITY_GUARANTEE(4,"担保担责交易"),

    AFFIRM_DUTY(1,"确认担责"),
    NOT_AFFIRM_DUTY(2,"不担责"),

    OBLIGATION(1,"待付款"),
    ACCOUNT_PAID(2,"已付款"),
    WAIT_FOR_SENDING(3,"待发货"),
    WAIT_FOR_RECEIVING(4,"待收货"),
    AFTER_SALE(5,"售后中"),
    COMPLETED(6,"已完成"),//已售罄(含担保的需要买家收货--给卖家打款)
    REMITTED_MONEY_STATUS(7, "买家提交退货"),//买家提交退货
    UNDER_RETURN_APPLICATION(8, "买家退货申请中"),
    RETURNING_GOODS(9,"卖家同意退货"),
    RETURNED(10,"已退货"),//已完成(需退货的要卖家收货后--给买家退款)
    CANCEL(11,"已取消");

    private final Integer code;
    private final String content;
}
